3.2.40 \(\int \frac {\cosh ^{-1}(a x)}{x \sqrt {1-a^2 x^2}} \, dx\) [140]

Optimal. Leaf size=103 \[ \frac {2 \sqrt {-1+a x} \cosh ^{-1}(a x) \text {ArcTan}\left (e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a x}}-\frac {i \sqrt {-1+a x} \text {PolyLog}\left (2,-i e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a x}}+\frac {i \sqrt {-1+a x} \text {PolyLog}\left (2,i e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a x}} \]

[Out]

2*arccosh(a*x)*arctan(a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))*(a*x-1)^(1/2)/(-a*x+1)^(1/2)-I*polylog(2,-I*(a*x+(a*x-1
)^(1/2)*(a*x+1)^(1/2)))*(a*x-1)^(1/2)/(-a*x+1)^(1/2)+I*polylog(2,I*(a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2)))*(a*x-1)^
(1/2)/(-a*x+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {5946, 4265, 2317, 2438} \begin {gather*} \frac {2 \sqrt {a x-1} \cosh ^{-1}(a x) \text {ArcTan}\left (e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a x}}-\frac {i \sqrt {a x-1} \text {Li}_2\left (-i e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a x}}+\frac {i \sqrt {a x-1} \text {Li}_2\left (i e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[ArcCosh[a*x]/(x*Sqrt[1 - a^2*x^2]),x]

[Out]

(2*Sqrt[-1 + a*x]*ArcCosh[a*x]*ArcTan[E^ArcCosh[a*x]])/Sqrt[1 - a*x] - (I*Sqrt[-1 + a*x]*PolyLog[2, (-I)*E^Arc
Cosh[a*x]])/Sqrt[1 - a*x] + (I*Sqrt[-1 + a*x]*PolyLog[2, I*E^ArcCosh[a*x]])/Sqrt[1 - a*x]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 4265

Int[csc[(e_.) + Pi*(k_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c +
 d*x)^m*(ArcTanh[E^((-I)*e + f*fz*x)/E^(I*k*Pi)]/(f*fz*I)), x] + (-Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*
Log[1 - E^((-I)*e + f*fz*x)/E^(I*k*Pi)], x], x] + Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e
 + f*fz*x)/E^(I*k*Pi)], x], x]) /; FreeQ[{c, d, e, f, fz}, x] && IntegerQ[2*k] && IGtQ[m, 0]

Rule 5946

Int[(((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Dist[(1/c^(m
 + 1))*Simp[Sqrt[1 + c*x]*(Sqrt[-1 + c*x]/Sqrt[d + e*x^2])], Subst[Int[(a + b*x)^n*Cosh[x]^m, x], x, ArcCosh[c
*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {\cosh ^{-1}(a x)}{x \sqrt {1-a^2 x^2}} \, dx &=\frac {\left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {\cosh ^{-1}(a x)}{x \sqrt {-1+a x} \sqrt {1+a x}} \, dx}{\sqrt {1-a^2 x^2}}\\ &=\frac {\left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \text {Subst}\left (\int x \text {sech}(x) \, dx,x,\cosh ^{-1}(a x)\right )}{\sqrt {1-a^2 x^2}}\\ &=\frac {2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x) \tan ^{-1}\left (e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a^2 x^2}}-\frac {\left (i \sqrt {-1+a x} \sqrt {1+a x}\right ) \text {Subst}\left (\int \log \left (1-i e^x\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{\sqrt {1-a^2 x^2}}+\frac {\left (i \sqrt {-1+a x} \sqrt {1+a x}\right ) \text {Subst}\left (\int \log \left (1+i e^x\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{\sqrt {1-a^2 x^2}}\\ &=\frac {2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x) \tan ^{-1}\left (e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a^2 x^2}}-\frac {\left (i \sqrt {-1+a x} \sqrt {1+a x}\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a^2 x^2}}+\frac {\left (i \sqrt {-1+a x} \sqrt {1+a x}\right ) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a^2 x^2}}\\ &=\frac {2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x) \tan ^{-1}\left (e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a^2 x^2}}-\frac {i \sqrt {-1+a x} \sqrt {1+a x} \text {Li}_2\left (-i e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a^2 x^2}}+\frac {i \sqrt {-1+a x} \sqrt {1+a x} \text {Li}_2\left (i e^{\cosh ^{-1}(a x)}\right )}{\sqrt {1-a^2 x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.11, size = 113, normalized size = 1.10 \begin {gather*} \frac {i \sqrt {-((-1+a x) (1+a x))} \left (\cosh ^{-1}(a x) \left (\log \left (1-i e^{-\cosh ^{-1}(a x)}\right )-\log \left (1+i e^{-\cosh ^{-1}(a x)}\right )\right )+\text {PolyLog}\left (2,-i e^{-\cosh ^{-1}(a x)}\right )-\text {PolyLog}\left (2,i e^{-\cosh ^{-1}(a x)}\right )\right )}{\sqrt {\frac {-1+a x}{1+a x}} (1+a x)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[ArcCosh[a*x]/(x*Sqrt[1 - a^2*x^2]),x]

[Out]

(I*Sqrt[-((-1 + a*x)*(1 + a*x))]*(ArcCosh[a*x]*(Log[1 - I/E^ArcCosh[a*x]] - Log[1 + I/E^ArcCosh[a*x]]) + PolyL
og[2, (-I)/E^ArcCosh[a*x]] - PolyLog[2, I/E^ArcCosh[a*x]]))/(Sqrt[(-1 + a*x)/(1 + a*x)]*(1 + a*x))

________________________________________________________________________________________

Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 269 vs. \(2 (126 ) = 252\).
time = 3.92, size = 270, normalized size = 2.62

method result size
default \(\frac {i \sqrt {-a^{2} x^{2}+1}\, \sqrt {a x -1}\, \sqrt {a x +1}\, \mathrm {arccosh}\left (a x \right ) \ln \left (1+i \left (a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )\right )}{a^{2} x^{2}-1}-\frac {i \sqrt {-a^{2} x^{2}+1}\, \sqrt {a x -1}\, \sqrt {a x +1}\, \mathrm {arccosh}\left (a x \right ) \ln \left (1-i \left (a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )\right )}{a^{2} x^{2}-1}+\frac {i \sqrt {-a^{2} x^{2}+1}\, \sqrt {a x -1}\, \sqrt {a x +1}\, \dilog \left (1+i \left (a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )\right )}{a^{2} x^{2}-1}-\frac {i \sqrt {-a^{2} x^{2}+1}\, \sqrt {a x -1}\, \sqrt {a x +1}\, \dilog \left (1-i \left (a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )\right )}{a^{2} x^{2}-1}\) \(270\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arccosh(a*x)/x/(-a^2*x^2+1)^(1/2),x,method=_RETURNVERBOSE)

[Out]

I*(-a^2*x^2+1)^(1/2)*(a*x-1)^(1/2)*(a*x+1)^(1/2)/(a^2*x^2-1)*arccosh(a*x)*ln(1+I*(a*x+(a*x-1)^(1/2)*(a*x+1)^(1
/2)))-I*(-a^2*x^2+1)^(1/2)*(a*x-1)^(1/2)*(a*x+1)^(1/2)/(a^2*x^2-1)*arccosh(a*x)*ln(1-I*(a*x+(a*x-1)^(1/2)*(a*x
+1)^(1/2)))+I*(-a^2*x^2+1)^(1/2)*(a*x-1)^(1/2)*(a*x+1)^(1/2)/(a^2*x^2-1)*dilog(1+I*(a*x+(a*x-1)^(1/2)*(a*x+1)^
(1/2)))-I*(-a^2*x^2+1)^(1/2)*(a*x-1)^(1/2)*(a*x+1)^(1/2)/(a^2*x^2-1)*dilog(1-I*(a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2
)))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccosh(a*x)/x/(-a^2*x^2+1)^(1/2),x, algorithm="maxima")

[Out]

integrate(arccosh(a*x)/(sqrt(-a^2*x^2 + 1)*x), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccosh(a*x)/x/(-a^2*x^2+1)^(1/2),x, algorithm="fricas")

[Out]

integral(-sqrt(-a^2*x^2 + 1)*arccosh(a*x)/(a^2*x^3 - x), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {acosh}{\left (a x \right )}}{x \sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(acosh(a*x)/x/(-a**2*x**2+1)**(1/2),x)

[Out]

Integral(acosh(a*x)/(x*sqrt(-(a*x - 1)*(a*x + 1))), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccosh(a*x)/x/(-a^2*x^2+1)^(1/2),x, algorithm="giac")

[Out]

integrate(arccosh(a*x)/(sqrt(-a^2*x^2 + 1)*x), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\mathrm {acosh}\left (a\,x\right )}{x\,\sqrt {1-a^2\,x^2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(acosh(a*x)/(x*(1 - a^2*x^2)^(1/2)),x)

[Out]

int(acosh(a*x)/(x*(1 - a^2*x^2)^(1/2)), x)

________________________________________________________________________________________